package com.yy.dto.mother;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description:
 * @ClassName: PatientPageInfoDTO
 * @author: 姚欣宏
 * @date: 2023.10.24
 */
@Data
@ApiModel("病患信息分页数据传输对象")
public class PatientPageInfoDTO {
    @ApiModelProperty(value = "页面数", example = "1")
    private int pageNum;

    @ApiModelProperty(value = "页面大小", example = "10")
    private int pageSize;

    @ApiModelProperty(value = "总页数", example = "1")
    private int totalPages;

    @ApiModelProperty(value = "总数", example = "2")
    private int total;

    @ApiModelProperty(value = "排序")
    private Object orderBy;

    @ApiModelProperty(value = "病患信息内容")
    private List<PatientInfoDTO> content;

    @ApiModelProperty(value = "是否升序", example = "false")
    private boolean asc;
}

